home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.std.c
- Path: in1.uu.net!world!mv!usenet
- From: ENGR@GSSI.MV.COM (Michael Furman)
- Subject: Re: Integral conversion e.t.c. (was: Re: Hungarian notation)
- Message-ID: <DM5urJ.Aq5@mv.mv.com>
- Mime-Version: 1.0
- Organization: GSSI
- Date: Fri, 2 Feb 1996 18:16:31 GMT
- References: <30C40F77.53B5@swsbbs.com> <SPENCER.96Jan22113215@zorgon.ERA.COM> <KANZE.96Feb2133347@slsvewt.lts.sel.alcatel.de>
- X-Newsreader: WinVN 0.93.10
- X-Nntp-Posting-Host: gssi.mv.com
-
- In article <KANZE.96Feb2133347@slsvewt.lts.sel.alcatel.de>,
- kanze@lts.sel.alcatel.de says...
- > ..................................
- >Note that implementations *are* allowed to offer extensions, and
- >define undefined behavior in an implementation specific manner. An
- >implementation which defines, for example, that writing to the address
- >0 clears the screen, is perfectly legal. If you write code uniquely
- >for that implementation, and you have to clear the screen, you will
- >dereference a null pointer. If this is the only way of clearing the
- >screen on said implementation, and your application requires clearing
- >the screen, you will write code dereferencing a null pointer.
- >
- >That doesn't make such code any less undefined with regards to the
- >standard.
-
- I can not say that I agree ... Of cause some implementation may define
- any "undefined" behavior. But I still see two very different cases -
- a) when construction assumed as incorrect, like dereferinsing wrong
- pointer and when it has clear purpose, but exect meaning can not be
- defined portable (like "asm").
-
- What do you think about code with "asm" statements. Is it "less undefined"
- and if not - what is the sense and reason of including
- "asm" keyword in the standard?
-
- >--
- >James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr
- >GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
- >Conseils, Θtudes et rΘalisations en logiciel orientΘ objet --
- > -- A la recherche d'une activitΘ dans une region francophone
- >
-
- --
- <<<<<<<< This is a copy of post to the newsgroup >>>>>>>>
- ---------------------------------------------------------------
- Michael Furman, (603)893-1109
- Geophysical Survey Systems, Inc. fax:(603)889-3984
- 13 Klein Drive - P.O. Box 97 engr@gssi.mv.com
- North Salem, NH 03073-0097 71543.1334@compuserve.com
- ---------------------------------------------------------------
-
-